package com.qimo.zzy.tool.Email;

import java.util.Random;

public class VerCodeGenerateTool {
    public static String generateRandomString() {
        Random random = new Random();
        int length = 8;
        String characters = "qwertyuiopasdfghjklzmxncbvQAZWSXEDCRFVTGBYHNUJMLKPOI123985647";
        StringBuilder sb = new StringBuilder(length);
        for (int i = 0; i < length; i++) {
            sb.append(characters.charAt(random.nextInt(characters.length())));
        }
        return sb.toString();
    }
}
